package com.zhang.comm.constant;

import java.time.LocalDate;

public class Constant {

    /**
     * 超级管理员ID
     */
    public static final int SUPER_ADMIN = 1;
    /**
     * 当前页码
     */
    public static final String PAGE = "page";
    /**
     * 每页显示记录数
     */
    public static final String LIMIT = "limit";
    /**
     * 排序字段
     */
    public static final String ORDER_FIELD = "sidx";
    /**
     * 排序方式
     */
    public static final String ORDER = "order";
    /**
     * 升序
     */
    public static final String ASC = "asc";

    /**
     * token内容AES加密key
     */
    public static final String TOKEN_AES_KEY = "AcAc31@+h787T2rJ";

    /**
     * 默认密码
     */
    public static final String PASSWORD = "BMSWYF&zh";

    public static final Integer StartYear = 2024;
    public static final Integer EndYear = LocalDate.now().getYear();
    /**
     * 精度放大倍数：保留小数点后3位（万元） 资金管理模块-收支管理
     * 1.23456789万元 = 12345.6789元 => 数据库存12345678 => 乘10000000
     * 低于百亿，超过百亿的金额long存不下了
     */
    public static final Integer PRECISION_MULTIPLIER = 10000000;


    public static final String P7_TAG = "hlw_sign";
}
